<?php
return [
    'default' => 'product_building', // 默认数据连接标识
    'connections' => [
        'local_building' => [
            'type' => 'mysql', //数据库类型
            'hostname' => '127.0.0.1',//Mysql IP
            'username' => 'root', //Mysql用户名
            'password' => 'root',//Mysql密码
            'hostport' => '3307',//端口号
            'database' => 'building', //数据库名字
            'charset' => 'utf8'  //编码
        ],
        'develop_building' => [
            'type' => 'mysql', //数据库类型
            'hostname' => '47.106.167.96',//Mysql IP
            'username' => 'building_test', //Mysql用户名
            'password' => 'aSfpYD3ZjAC7FYi2',//Mysql密码
            'hostport' => '3306',//端口号
            'database' => 'building_test', //数据库名字
            'charset' => 'utf8mb4'  //编码
        ],
        'product_building' => [
            'type' => 'mysql', //数据库类型
            'hostname' => '47.106.167.96',//Mysql IP
            'username' => 'building', //Mysql用户名
            'password' => 'fTiPr6eTbYWSEYKw',//Mysql密码
            'hostport' => '3306',//端口号
            'database' => 'building', //数据库名字
            'charset' => 'utf8mb4'  //编码
        ],
    ]
];